defaultvalue test: Skip GdkMonitor::geometry
authorMatthias Clasen <mclasen@redhat.com>
Mon, 2 May 2016 16:40:51 +0000 (12:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 2 May 2016 16:42:13 +0000 (12:42 -0400)
We never return NULL for ::geometry and ::workarea. Just skip
these properties.

testsuite/gtk/defaultvalue.c

index 257d772e6afe8f1071635161e1c7ad7e07e5cfaf..dba458519fd8e6f90d291a852394cd2275544ac7 100644 (file)
@@ -151,6 +151,11 @@ test_type (gconstpointer data)
          (strcmp (pspec->name, "default-display") == 0))
        continue;
 
+      if (g_type_is_a (type, GDK_TYPE_MONITOR) &&
+          (strcmp (pspec->name, "geometry") == 0 ||
+           strcmp (pspec->name, "workarea") == 0))
+        continue;
+
       if (g_type_is_a (type, GTK_TYPE_ABOUT_DIALOG) &&
          (strcmp (pspec->name, "program-name") == 0))
        continue;